:art: Add complement_code

huangqimin001 4 years ago
parent
commit
c1892d389f
2 changed files with 3 additions and 2 deletions
  1. 2 2
      api/complement_views.py
  2. 1 0
      api/urls.py

+ 2 - 2
api/complement_views.py

@@ -27,8 +27,8 @@ def complement_code(request):
27 27
         'model_id': model_id,
28 28
         'model_name': model_name,
29 29
         'sn': sn,
30
-        'shot_path': shot_path,
31
-        'invoice_path': invoice_path,
30
+        'shot_image': shot_path,
31
+        'invoice_image': invoice_path,
32 32
     })
33 33
 
34 34
     return response(data={

+ 1 - 0
api/urls.py

@@ -11,6 +11,7 @@ from page import oauth_views, sale_views, screen_views
11 11
 from sales import views as sales_views
12 12
 from statistic import views as tj_views
13 13
 
14
+
14 15
 # Mini App
15 16
 urlpatterns = [
16 17
     url(r'^mini/userinfo$', mini_views.get_userinfo_api, name='get_userinfo_api'),  # 获取用户信息